inherited FRelatorio_lote_remessa: TFRelatorio_lote_remessa
  Left = 144
  Top = 171
  Width = 861
  Height = 450
  Caption = 'PAG-FOR (BRADESCO)'
  OldCreateOrder = True
  PixelsPerInch = 96
  TextHeight = 16
  inherited Panel1: TPanel
    Width = 853
  end
  inherited Panel2: TPanel
    Width = 853
    Caption = 'RELAT'#211'RIO LOTE DE REMESSA'
  end
  inherited GroupBox1: TGroupBox
    OnClick = btnExecutarClick
    object Label4: TLabel
      Left = 9
      Top = 24
      Width = 43
      Height = 16
      Caption = 'N'#186' Lote'
    end
    object Edit1: TEdit
      Left = 9
      Top = 41
      Width = 65
      Height = 22
      TabOrder = 0
      OnExit = Edit1Exit
      OnKeyPress = Edit1KeyPress
    end
    object GroupBox3: TGroupBox
      Left = 9
      Top = 72
      Width = 276
      Height = 54
      Caption = '  Per'#237'odo  '
      Ctl3D = False
      ParentCtl3D = False
      TabOrder = 1
      Visible = False
      object Label5: TLabel
        Left = 135
        Top = 17
        Width = 7
        Height = 16
        Caption = 'a'
      end
      object Label6: TLabel
        Left = 8
        Top = 17
        Width = 16
        Height = 16
        Caption = 'De'
      end
      object DTINI: TDateEdit
        Left = 29
        Top = 17
        Width = 100
        Height = 21
        Ctl3D = False
        NumGlyphs = 2
        ParentCtl3D = False
        TabOrder = 0
        OnExit = DTINIExit
      end
      object DTFIM: TDateEdit
        Left = 152
        Top = 17
        Width = 100
        Height = 21
        Ctl3D = False
        NumGlyphs = 2
        ParentCtl3D = False
        TabOrder = 1
        OnExit = DTFIMExit
      end
    end
  end
  inherited GroupBox2: TGroupBox
    object GBOrdernar: TGroupBox
      Left = 10
      Top = 63
      Width = 188
      Height = 75
      Caption = '  Ordernar por  '
      TabOrder = 5
      object RBVencimento: TRadioButton
        Left = 10
        Top = 17
        Width = 139
        Height = 21
        Caption = 'Vencimento'
        Checked = True
        TabOrder = 0
        TabStop = True
      end
      object RBFornecedor: TRadioButton
        Left = 10
        Top = 33
        Width = 154
        Height = 21
        Caption = 'Fornecedor'
        TabOrder = 1
      end
      object RBCod_Titulo: TRadioButton
        Left = 10
        Top = 49
        Width = 154
        Height = 21
        Caption = 'C'#243'digo do T'#237'tulo'
        TabOrder = 2
      end
    end
  end
  inherited RLReport: TRLReport
    Left = -328
    Top = 205
    Width = 1123
    Height = 794
    DataSource = DSPesquisa
    PageSetup.Orientation = poLandscape
    inherited RLBand1: TRLBand
      Width = 1047
    end
    object RLBand2: TRLBand
      Left = 38
      Top = 120
      Width = 1047
      Height = 77
      BandType = btHeader
      Borders.Sides = sdCustom
      Borders.DrawLeft = True
      Borders.DrawTop = False
      Borders.DrawRight = True
      Borders.DrawBottom = True
      Borders.FixedLeft = True
      Borders.FixedRight = True
      Borders.FixedBottom = True
      object RLLabel1: TRLLabel
        Left = 8
        Top = 6
        Width = 46
        Height = 15
        Caption = 'N'#186' Lote:'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLDBText2: TRLDBText
        Left = 59
        Top = 6
        Width = 82
        Height = 15
        DataField = 'PAG_CODIGO'
        DataSource = DSPesquisa
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLLabel2: TRLLabel
        Left = 153
        Top = 6
        Width = 38
        Height = 15
        Caption = 'Data : '
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLDBText3: TRLDBText
        Left = 195
        Top = 6
        Width = 135
        Height = 15
        DataField = 'PAG_DATA_ABERTURA'
        DataSource = DSPesquisa
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLLabel3: TRLLabel
        Left = 8
        Top = 28
        Width = 157
        Height = 15
        Caption = 'Modalidade do Pagamento: '
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLDBText4: TRLDBText
        Left = 174
        Top = 28
        Width = 117
        Height = 16
        DataField = 'MOD_DESCRICAO'
        DataSource = DSPesquisa
      end
      object RLLabel4: TRLLabel
        Left = 720
        Top = 28
        Width = 68
        Height = 15
        Caption = 'Qtd. T'#237'tulos:'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLDBText5: TRLDBText
        Left = 794
        Top = 28
        Width = 47
        Height = 16
        AutoSize = False
        DataField = 'PAG_QUANTIDADE'
        DataSource = DSPesquisa
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLLabel5: TRLLabel
        Left = 850
        Top = 28
        Width = 64
        Height = 15
        Caption = 'Valor Total:'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLDBText6: TRLDBText
        Left = 920
        Top = 28
        Width = 65
        Height = 16
        Alignment = taRightJustify
        AutoSize = False
        DataField = 'PAG_VALOR_TOTAL'
        DataSource = DSPesquisa
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLLabel6: TRLLabel
        Left = 8
        Top = 55
        Width = 79
        Height = 15
        Caption = 'Assinado por:'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLLabel7: TRLLabel
        Left = 280
        Top = 55
        Width = 25
        Height = 15
        Caption = 'Em:'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLDBText7: TRLDBText
        Left = 91
        Top = 55
        Width = 169
        Height = 15
        DataField = 'PAG_USUARIO_ASSINATURA'
        DataSource = DSPesquisa
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLDBText8: TRLDBText
        Left = 307
        Top = 55
        Width = 124
        Height = 16
        AutoSize = False
        DataField = 'PAG_DATA_ASSINATURA'
        DataSource = DSPesquisa
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLLabel8: TRLLabel
        Left = 520
        Top = 55
        Width = 71
        Height = 15
        Caption = 'Enviado por:'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLLabel9: TRLLabel
        Left = 728
        Top = 55
        Width = 25
        Height = 15
        Caption = 'Em:'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLDBText18: TRLDBText
        Left = 555
        Top = 6
        Width = 182
        Height = 15
        DataField = 'PAG_MOVIMENTO_DESCRICAO'
        DataSource = DSPesquisa
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLLabel20: TRLLabel
        Left = 445
        Top = 6
        Width = 109
        Height = 15
        Caption = 'Tipo de Movimento:'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLDBText19: TRLDBText
        Left = 589
        Top = 55
        Width = 124
        Height = 16
        AutoSize = False
        DataField = 'PAG_USUARIO_ENVIO'
        DataSource = DSPesquisa
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLDBText20: TRLDBText
        Left = 754
        Top = 54
        Width = 124
        Height = 16
        AutoSize = False
        DataField = 'PAG_DATA_ENVIO'
        DataSource = DSPesquisa
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
    end
    object RLBand3: TRLBand
      Left = 38
      Top = 197
      Width = 1047
      Height = 24
      BandType = btColumnHeader
      Borders.Sides = sdCustom
      Borders.DrawLeft = True
      Borders.DrawTop = False
      Borders.DrawRight = True
      Borders.DrawBottom = True
      Borders.FixedLeft = True
      Borders.FixedRight = True
      Borders.FixedBottom = True
      object RLLabel10: TRLLabel
        Left = 4
        Top = 2
        Width = 49
        Height = 15
        Caption = 'N'#186' T'#237'tulo'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLLabel11: TRLLabel
        Left = 61
        Top = 2
        Width = 83
        Height = 15
        Caption = 'N'#186' Documento'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLLabel12: TRLLabel
        Left = 153
        Top = 2
        Width = 64
        Height = 15
        Caption = 'Data Docto'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLLabel13: TRLLabel
        Left = 228
        Top = 2
        Width = 66
        Height = 15
        Caption = 'Fornecedor'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLLabel14: TRLLabel
        Left = 470
        Top = 2
        Width = 52
        Height = 15
        Caption = 'Historico'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLLabel15: TRLLabel
        Left = 951
        Top = 2
        Width = 31
        Height = 15
        Caption = 'Valor'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLLabel16: TRLLabel
        Left = 994
        Top = 2
        Width = 47
        Height = 15
        Caption = 'Retorno'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLLabel19: TRLLabel
        Left = 817
        Top = 4
        Width = 68
        Height = 15
        Caption = 'Vencimento'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
    end
    object RLBand4: TRLBand
      Left = 38
      Top = 221
      Width = 1047
      Height = 40
      Borders.Sides = sdCustom
      Borders.DrawLeft = False
      Borders.DrawTop = False
      Borders.DrawRight = False
      Borders.DrawBottom = True
      Borders.FixedBottom = True
      AfterPrint = RLBand4AfterPrint
      BeforePrint = RLBand4BeforePrint
      object RLDBText9: TRLDBText
        Left = 3
        Top = 5
        Width = 54
        Height = 16
        AutoSize = False
        DataField = 'CP_CODIGO'
        DataSource = DSPesquisa
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLDBText10: TRLDBText
        Left = 62
        Top = 5
        Width = 86
        Height = 16
        AutoSize = False
        DataField = 'CP_DOCUMENTO'
        DataSource = DSPesquisa
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLDBText11: TRLDBText
        Left = 153
        Top = 5
        Width = 65
        Height = 16
        AutoSize = False
        DataField = 'CP_DATADOCUMENTO'
        DataSource = DSPesquisa
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLDBText12: TRLDBText
        Left = 227
        Top = 5
        Width = 224
        Height = 16
        AutoSize = False
        DataField = 'PAGITENS_FORNECEDOR_DESC'
        DataSource = DSPesquisa
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLDBText13: TRLDBText
        Left = 471
        Top = 5
        Width = 336
        Height = 16
        AutoSize = False
        DataField = 'CP_HISTORICO1'
        DataSource = DSPesquisa
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLDBText14: TRLDBText
        Left = 888
        Top = 5
        Width = 95
        Height = 15
        Alignment = taRightJustify
        AutoSize = False
        DataField = 'CP_VALOR'
        DataSource = DSPesquisa
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLDBText16: TRLDBText
        Left = 471
        Top = 21
        Width = 336
        Height = 16
        AutoSize = False
        DataField = 'CP_HISTORICO2'
        DataSource = DSPesquisa
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLDBText17: TRLDBText
        Left = 818
        Top = 5
        Width = 67
        Height = 16
        Alignment = taRightJustify
        AutoSize = False
        DataField = 'PAGITENS_CP_DATA_VENCIMENTO'
        DataSource = DSPesquisa
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLLabel23: TRLLabel
        Left = 994
        Top = 5
        Width = 47
        Height = 15
        Caption = 'Retorno'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
    end
    object RLBand5: TRLBand
      Left = 38
      Top = 261
      Width = 1047
      Height = 66
      BandType = btSummary
      BeforePrint = RLBand5BeforePrint
      object RLLabel17: TRLLabel
        Left = 212
        Top = 45
        Width = 124
        Height = 16
        Caption = 'Data: ___/___/_____'
      end
      object RLLabel18: TRLLabel
        Left = 340
        Top = 46
        Width = 483
        Height = 16
        Caption = 
          'Assinatura:_____________________________________________________' +
          '______'
      end
      object RLLabel21: TRLLabel
        Left = 948
        Top = 2
        Width = 38
        Height = 15
        Alignment = taRightJustify
        Caption = 'Data : '
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel22: TRLLabel
        Left = 774
        Top = 2
        Width = 123
        Height = 15
        Alignment = taRightJustify
        Caption = 'Valor total agendado:'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
    end
  end
  inherited QPesquisa: TQuery
    SQL.Strings = (
      'SELECT'
      '*'
      ''
      'FROM'
      'pagfor_lote_cabecalho'
      
        'inner join pagfor_lote_itens on (pagfor_lote_itens.pagitens_pag_' +
        'codigo = pagfor_lote_cabecalho.pag_codigo)'
      'left join CONTASPAGAR on'
      
        '         (pagfor_lote_itens.pagitens_cod_barra = CONTASPAGAR.cp_' +
        'modalidade_codigo_barra) or'
      
        '         (pagfor_lote_itens.pagitens_cod_cp = contaspagar.cp_cod' +
        'igo)'
      
        'inner join modalidadepagamento on           (modalidadepagamento' +
        '.mod_identificacao = pagfor_lote_cabecalho.pag_cod_modalidade)'
      
        'where ((pagfor_lote_cabecalho.excluido = '#39'N'#39') or (pagfor_lote_ca' +
        'becalho.excluido is null))and'
      '(pagfor_lote_cabecalho.pag_codigo = 138)')
    Left = 464
    Top = 225
  end
  inherited DSPesquisa: TDataSource
    Left = 384
    Top = 174
  end
end
